package com.training.content.domain;

import com.training.common.annotation.Excel;
import com.training.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 培训计划对象 train_info
 * 
 * @author training
 * @date 2021-10-25
 */
public class TrainInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** Id */
    private Long trainId;

    /** 培训计划名称 */
    @Excel(name = "培训计划名称")
    private String trainName;

    /** 封面图地址 */
    @Excel(name = "封面图地址")
    private String coverPath;

    /** 计划简介 */
    @Excel(name = "计划简介")
    private String introduction;

    /** 课程Id */
    @Excel(name = "课程Id")
    private Long courseId;

    /** 试卷Id */
    @Excel(name = "试卷Id")
    private Long examId;

    /** 培训人员 英文逗号分隔 */
    @Excel(name = "培训人员 英文逗号分隔")
    private String trainPerson;

    /** 学习得分 */
    @Excel(name = "学习得分")
    private Long score;

    /** 生成链接 */
    @Excel(name = "生成链接")
    private String link;

    /** 考试次数上限 */
    @Excel(name = "考试次数上限")
    private Long limit;

    /** 自动推送 0否 1是 */
    @Excel(name = "自动推送 0否 1是")
    private Long autoPush;

    /** 推送绑定的培训Id */
    @Excel(name = "推送绑定的培训Id")
    private Long afterTrainId;

    /** 公司Id */
    @Excel(name = "公司Id")
    private Long companyId;

    /** 创建人姓名 */
    @Excel(name = "创建人姓名")
    private String creator;

    public void setTrainId(Long trainId) 
    {
        this.trainId = trainId;
    }

    public Long getTrainId() 
    {
        return trainId;
    }
    public void setTrainName(String trainName) 
    {
        this.trainName = trainName;
    }

    public String getTrainName() 
    {
        return trainName;
    }
    public void setCoverPath(String coverPath) 
    {
        this.coverPath = coverPath;
    }

    public String getCoverPath() 
    {
        return coverPath;
    }
    public void setIntroduction(String introduction) 
    {
        this.introduction = introduction;
    }

    public String getIntroduction() 
    {
        return introduction;
    }
    public void setCourseId(Long courseId) 
    {
        this.courseId = courseId;
    }

    public Long getCourseId() 
    {
        return courseId;
    }
    public void setExamId(Long examId) 
    {
        this.examId = examId;
    }

    public Long getExamId() 
    {
        return examId;
    }
    public void setTrainPerson(String trainPerson) 
    {
        this.trainPerson = trainPerson;
    }

    public String getTrainPerson() 
    {
        return trainPerson;
    }
    public void setScore(Long score) 
    {
        this.score = score;
    }

    public Long getScore() 
    {
        return score;
    }
    public void setLink(String link) 
    {
        this.link = link;
    }

    public String getLink() 
    {
        return link;
    }
    public void setLimit(Long limit) 
    {
        this.limit = limit;
    }

    public Long getLimit() 
    {
        return limit;
    }
    public void setAutoPush(Long autoPush) 
    {
        this.autoPush = autoPush;
    }

    public Long getAutoPush() 
    {
        return autoPush;
    }
    public void setAfterTrainId(Long afterTrainId) 
    {
        this.afterTrainId = afterTrainId;
    }

    public Long getAfterTrainId() 
    {
        return afterTrainId;
    }
    public void setCompanyId(Long companyId) 
    {
        this.companyId = companyId;
    }

    public Long getCompanyId() 
    {
        return companyId;
    }
    public void setCreator(String creator) 
    {
        this.creator = creator;
    }

    public String getCreator() 
    {
        return creator;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("trainId", getTrainId())
            .append("trainName", getTrainName())
            .append("coverPath", getCoverPath())
            .append("introduction", getIntroduction())
            .append("courseId", getCourseId())
            .append("examId", getExamId())
            .append("trainPerson", getTrainPerson())
            .append("score", getScore())
            .append("link", getLink())
            .append("limit", getLimit())
            .append("autoPush", getAutoPush())
            .append("afterTrainId", getAfterTrainId())
            .append("companyId", getCompanyId())
            .append("creator", getCreator())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
